package com.scu.gkvr_system_backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scu.gkvr_system_backend.pojo.ScoreRank;
import com.scu.gkvr_system_backend.vo.ScoreRankGetListVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author qinyc
* @description 针对表【gs_li_score_rank】的数据库操作Mapper
* @createDate 2024-05-10 23:26:57
* @Entity com.scu.gkvr_system_backend.pojo.GsLiScoreRank
*/
public interface GsLiScoreRankMapper extends BaseMapper<ScoreRank> {

    IPage<ScoreRankGetListVO> getScoreRankList(@Param("scoreRankGetListVOPage") Page<ScoreRankGetListVO> scoreRankGetListVOPage);

    List<ScoreRank> getList();

    @Select("select * from gs_li_score_rank where score = #{score}")
    ScoreRank getScoreRankByScore(int score);

    @Select(" select * from gs_li_score_rank ")
    List<ScoreRank> findAll();
}




